package com.cn.crmsystem.mapper.systemMapper;

import com.cn.crmsystem.pojo.Role;
import org.springframework.stereotype.Repository;

import java.util.HashMap;
import java.util.List;
@Repository
public interface RoleMapper {

    List<Role> selectRole(Role role);

    int addRole(HashMap<Object, Object> map);

    int deleteRole(Integer id);

    Role getRole(Integer user_id);

    int updateRole(HashMap<Object, Object> map);
}
